package com.hi.hiparty.manager;

import java.util.List;

import com.hi.hiparty.entity.Party;

public class PartyResult {
	public final static int ERROR_DB_EXCEPTION =1;
	public final static int ERROR_DB_NO_RESULT =2;
	public final static int ERROR_SOLR =3;
	//代表数据库和索引操作成功
	boolean success = true;
	int errorCode=0;
	String errorMsg;
	List<Party> partys;
	long count = 0;
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public int getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
	public String getErrorMsg() {
		return errorMsg;
	}
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	public List<Party> getPartys() {
		return partys;
	}
	public void setPartys(List<Party> partys) {
		this.partys = partys;
	}
	public long getCount() {
		return count;
	}
	public void setCount(long count) {
		this.count = count;
	}
}
